<template>
  <div>
    <el-button @click="back">退出</el-button>
  </div>
</template>
<script>
export default {
  data() {

},
methods:{
  back(){
    // window.sessionStorage.clear()
    // this.$router.push('/login')
         sessionStorage.clear()
      this.$router.push('/login')
  }
}
}
</script>
<style lang='css' scoped>
</style>
